unit pluginintf;

{$mode objfpc}{$H+}

interface

uses
  Classes, Controls;

type
  { 所有工具页必须实现的接口 }
  IDevToysPlugin = interface
    ['{3F2504E0-0642-11ED-B939-0242AC120002}']

    function Title: string;

    function Description: string;

    procedure BuildUI(Parent: TWinControl);   // 把面板扔到 Parent

    procedure Cleanup;
  end;

  { 注册用过程类型 }
  TRegisterProc = procedure(const Plugin: IDevToysPlugin);

implementation
end.

